package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价信息管理对象 lhk_hotel_review
 * 
 * @author lhk
 * @date 2025-05-29
 */
public class LhkHotelReview extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价id */
    private Long reviewId;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String reviewContent;

    /** 酒店回复内容 */
    @Excel(name = "酒店回复内容")
    private String replyContent;

    /** 回复时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回复时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date replyTime;

    /** 评价星级 */
    @Excel(name = "评价星级")
    private Long rating;

    /** 客户id */
    @Excel(name = "客户id")
    private Long customerId;

    /** 客户姓名 */
    @Excel(name = "客户姓名")
    private String customerName;

    /** 图集 */
    @Excel(name = "图集")
    private String imageUrls;

    /** 酒店id */
    @Excel(name = "酒店id")
    private Long hotelId;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String hotelName;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    @Excel(name = "用户ID")
    private Long userId;

    //用户昵称
    @Excel(name = "用户昵称")
    private String nickName;

    // 用户头像
    @Excel(name = "用户头像")
    private String avatar;

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getNickName() {
        return nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCustomerName() {
        return customerName;
    }
    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }
    public String getHotelName() {
        return hotelName;
    }
    public void setHotelName(String hotelName) {
        this.hotelName = hotelName;
    }

    public void setReviewId(Long reviewId) 
    {
        this.reviewId = reviewId;
    }

    public Long getReviewId() 
    {
        return reviewId;
    }

    public void setReviewContent(String reviewContent) 
    {
        this.reviewContent = reviewContent;
    }

    public String getReviewContent() 
    {
        return reviewContent;
    }

    public void setReplyContent(String replyContent) 
    {
        this.replyContent = replyContent;
    }

    public String getReplyContent() 
    {
        return replyContent;
    }

    public void setReplyTime(Date replyTime) 
    {
        this.replyTime = replyTime;
    }

    public Date getReplyTime() 
    {
        return replyTime;
    }

    public void setRating(Long rating) 
    {
        this.rating = rating;
    }

    public Long getRating() 
    {
        return rating;
    }

    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }

    public void setImageUrls(String imageUrls) 
    {
        this.imageUrls = imageUrls;
    }

    public String getImageUrls() 
    {
        return imageUrls;
    }

    public void setHotelId(Long hotelId) 
    {
        this.hotelId = hotelId;
    }

    public Long getHotelId() 
    {
        return hotelId;
    }

    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reviewId", getReviewId())
            .append("reviewContent", getReviewContent())
            .append("replyContent", getReplyContent())
            .append("replyTime", getReplyTime())
            .append("rating", getRating())
            .append("customerId", getCustomerId())
            .append("imageUrls", getImageUrls())
            .append("createTime", getCreateTime())
            .append("hotelId", getHotelId())
            .append("status", getStatus())
            .append("updateTime", getUpdateTime())
                .append("customerName", getCustomerName())
               .append("hotelName", getHotelName())
                .append("userId", getUserId())
                .append("nickName", getNickName()).append("avatar", getAvatar())
            .toString();
    }
}
